<?php
/**
 * Copyright Eli White & SaroSoftware 2010
 * Last Modified: 3/26/2010
 * 
 * This file is part of Saros Framework.
 * 
 * Saros Framework is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Saros Framework is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Saros Framework.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Place all application initialization here.
 */
class Application_Setup
{	
	public static $defaultModule = "Main";
	
	/**
	 * Sets some settings for the application
	 */
	static function setup($registry)
	{
		// Set up our config values
		$registry->config->siteUrl = "http://dev.powerwd.net/framework/";
		$registry->config->rewriting = true;
		
		
		
		// Set up the controller's template
		$registry->display->setLayout("Main");
		
		$registry->db = new Library_Database("mysql", "mysql1083.servage.net", "SaroSoftware", "a9sna1na113", "SaroSoftware");
		
	}
}
		
?>